package o;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.security.MessageDigest;

public final class sc implements sa {
    private final ds<sb<?>, Object> ˎ = new aaj();

    public void ˋ(@NonNull sc scVar) {
        this.ˎ.ˏ(scVar.ˎ);
    }

    @NonNull
    public <T> sc ˎ(@NonNull sb<T> sbVar, @NonNull T t) {
        this.ˎ.put(sbVar, t);
        return this;
    }

    @Nullable
    public <T> T ॱ(@NonNull sb<T> sbVar) {
        return this.ˎ.containsKey(sbVar) ? this.ˎ.get(sbVar) : sbVar.ˎ();
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof sc)) {
            return false;
        }
        return this.ˎ.equals(((sc) obj).ˎ);
    }

    public int hashCode() {
        return this.ˎ.hashCode();
    }

    public void ॱ(@NonNull MessageDigest messageDigest) {
        for (int i = 0; i < this.ˎ.size(); i++) {
            ˎ((sb) this.ˎ.ॱ(i), this.ˎ.ˋ(i), messageDigest);
        }
    }

    public String toString() {
        return "Options{values=" + this.ˎ + '}';
    }

    private static <T> void ˎ(@NonNull sb<T> sbVar, @NonNull Object obj, @NonNull MessageDigest messageDigest) {
        sbVar.ˎ(obj, messageDigest);
    }
}
